home *** CD-ROM | disk | FTP | other *** search
- Path: amaryllisp1.appsig.com!user
- From: larry_kearney@appsig.com (Lawrence Kearney)
- Newsgroups: comp.lang.c
- Subject: Re: Very Beginner Question with Think C
- Date: Wed, 24 Jan 1996 17:00:38 -0700
- Organization: Applied Signal Technology
- Message-ID: <larry_kearney-2401961700380001@amaryllisp1.appsig.com>
- References: <tkuntz-2401961743180001@arctic-0.vf.pond.com>
- NNTP-Posting-Host: amaryllisp1.appsig.com
-
- > Hi-
- > I'm taking a course in C at the local Community College and we were to
- > enter, compile and run the following program:
- >
- > #include "stdio.h"
- > ...deleted...
- >
- > My problem is that when I run it on my Think C compiler at home I get the
- > message 'link failed'. What am I doing wrong?
- >
- > My class works on DOS IBM compatible machines and I assume it will work at
- > school. I was just hoping to be able to do some work at home on my Mac.
-
- In your Think C project, you probably have not included the ANSI library
- along with your .c file(s). You can find it in the Think C directory tree
- in the "Standard Libraries" folder with the name ANSI. This library will
- contain all the standard ANSI C functions including printf and scanf.
-
- To included, select "Add files..." in the source menu and navigate to the
- Standard Libraries folder and add the ANSI file to the project. If you
- have problems, refer to the documentations for the compiler.
-
- --
- Larry Kearney | "You want fries with that?"
- Applied Signal Technology |
- larry_kearney@appsig.com |
-